package com.netease.b.a;

import com.netease.framework.a.k;
import com.netease.framework.a.m;
import com.netease.framework.b.a;
import com.netease.pris.a.e;
import com.netease.pris.atom.p;
import com.netease.pris.atom.u;
import com.netease.pris.protocol.d;
import java.io.InputStream;
import java.util.Vector;

public abstract class ag extends a
  implements com.netease.pris.protocol.b
{
  public static final int A = -1;
  public static final int B = -2;
  public static final int C = 1;
  public static final int D = 2;
  public static final int E = 3;
  public static final int F = 4;
  public static final int G = 5;
  public static final int H = 6;
  public static final int I = 7;
  public static final int J = 8;
  public static final int K = 9;
  public static final int L = 10;
  public static final int M = 11;
  public static final int N = 100;
  public static final int O = 300;
  public static final int P = 301;
  public static final int Q = 302;
  public static final int R = 303;
  public static final int S = 304;
  public static final int T = 305;
  public static final int U = 306;
  public static final int V = 307;
  public static final int W = 308;
  public static final int X = 309;
  public static final int Y = 310;
  public static final int Z = 311;
  public static final int aA = 808;
  public static final int aB = 809;
  public static final int aC = 810;
  public static final int aD = 900;
  public static final int aE = 901;
  public static final int aF = 902;
  public static final int aG = 903;
  public static final int aH = 1000;
  public static final int aI = 1001;
  public static final int aJ = 1002;
  public static final int aK = 1100;
  public static final int aL = 1101;
  public static final int aM = 1102;
  public static final int aN = 1103;
  public static final int aO = 1104;
  public static final int aP = 1105;
  public static final int aQ = 1106;
  public static final int aR = 1107;
  public static final int aS = 1108;
  public static final int aT = 1109;
  public static final int aU = 1300;
  public static final int aV = 1301;
  public static final int aW = 1400;
  public static final int aX = 1401;
  public static final int aY = 1500;
  public static final int aZ = 1501;
  public static final int aa = 312;
  public static final int ab = 313;
  public static final int ac = 314;
  public static final int ad = 315;
  public static final int ae = 316;
  public static final int af = 400;
  public static final int ag = 401;
  public static final int ah = 402;
  public static final int ai = 403;
  public static final int aj = 500;
  public static final int ak = 501;
  public static final int al = 502;
  public static final int am = 503;
  public static final int an = 504;
  public static final int ao = 505;
  public static final int ap = 600;
  public static final int aq = 601;
  public static final int ar = 602;
  public static final int as = 800;
  public static final int at = 801;
  public static final int au = 802;
  public static final int av = 803;
  public static final int aw = 804;
  public static final int ax = 805;
  public static final int ay = 806;
  public static final int az = 807;
  public static final int ba = 1502;
  public static final int bb = 2100;
  public static final int bc = 2200;
  public static final int bd = 400;
  public static final int be = 401;
  public static final int bf = 402;
  public static final int bg = 403;
  public static final int bh = 404;
  public static final int bi = 405;
  public static final int bj = 20403;
  public static final int bk = 20001;
  public static final int bl = 20002;
  public static final int bm = 20003;
  public static final int bn = 20004;
  public static final int z;
  int bo;
  com.netease.i.c bp;
  m bq;

  protected ag(int paramInt)
  {
    super(paramInt);
  }

  public com.netease.framework.b.b a(Object paramObject, int paramInt1, int paramInt2)
  {
    s locals = new s(this, paramObject, paramInt1, paramInt2);
    locals.a(this);
    return locals;
  }

  public com.netease.framework.b.b a(Vector paramVector, Object paramObject, int paramInt1, int paramInt2)
  {
    s locals = new s(paramVector, paramObject, paramInt1, paramInt2);
    locals.a(this);
    return locals;
  }

  public void a(int paramInt, Exception paramException)
  {
    d(paramInt, paramException.toString());
  }

  protected void a(int paramInt, Object paramObject)
  {
    if ((paramInt == 0) && (paramObject == null))
      super.c(paramInt, new d());
    while (true)
    {
      return;
      super.c(paramInt, paramObject);
    }
  }

  public void a(com.netease.i.c paramc)
  {
    this.bp = paramc;
  }

  public void a(p paramp)
  {
  }

  public void a(u paramu)
  {
  }

  public void a(d paramd)
  {
  }

  protected void a(Object paramObject)
  {
    if ((paramObject != null) && ((paramObject instanceof m)))
    {
      m localm = (m)paramObject;
      localm.c(this.bo);
      localm.a(this.bp);
      localm.b(j());
      localm.f(l());
      this.bq = localm;
    }
    super.a(paramObject);
  }

  protected void b(int paramInt, Object paramObject)
  {
    e(paramInt, paramObject);
    switch (paramInt)
    {
    default:
      if ((paramObject == null) || (!(paramObject instanceof p)))
        break;
      p localp2 = (p)paramObject;
      d(localp2.d(), localp2.f());
    case 400:
    case 202:
    case 203:
    case 204:
    case 205:
    case 206:
    case 300:
    case 301:
    case 302:
    case 303:
    case 401:
    case 402:
    case 404:
    case 405:
    case 406:
    case 500:
    case 501:
    case 502:
    case 503:
    case 403:
    case -1:
    }
    while (true)
    {
      return;
      if (paramObject == null)
      {
        d(10002, null);
        continue;
      }
      if ((paramObject instanceof p))
      {
        p localp1 = (p)paramObject;
        d(localp1.d(), localp1.f());
        continue;
        d(10002, null);
        continue;
        a(k.class);
        d(20403, null);
        continue;
        d(10003, null);
        continue;
      }
      d(paramInt, null);
    }
  }

  public void b(d paramd)
  {
  }

  public void d(int paramInt)
  {
    this.bo = paramInt;
  }

  public void e()
  {
    super.e();
    if (this.bq != null)
      this.bq.r();
    h();
  }

  protected void e(int paramInt, Object paramObject)
  {
    String str;
    if ((this.bq != null) && (((paramInt >= 500) && (paramInt < 600)) || (paramInt == 404)))
    {
      if (paramObject == null)
        break label87;
      if (!(paramObject instanceof String))
        break label62;
      str = (String)paramObject;
    }
    while (true)
    {
      super.a(com.netease.pris.protocol.c.a(paramInt, this.bq.b(), str), null);
      return;
      label62: if ((paramObject instanceof InputStream))
      {
        str = new String(e.b((InputStream)paramObject));
        continue;
      }
      label87: str = null;
    }
  }

  protected int u()
  {
    return this.bo;
  }

  protected com.netease.i.c v()
  {
    return this.bp;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.a.ag
 * JD-Core Version:    0.6.0
 */